package com.hexinfo.dmpro.monitor.service;

/**
 * @author peng
 * @date 2021/9/29 17:30
 */
public interface MonitorParam {

    int EXCEPTION_CODE = 9999;
    String HSOTNAME_ALL = "HSOTNAME_ALL";
    //------------------------------------------------yarn状态------------------------------------------------//
    String YARN_INFO = "YARN_INFO";
    String YARN_NODE = "YARN_NODE";
    String YARN_APP = "YARN_APP";
    String YARN_APPSTATISTICS = "YARN_APPSTATISTICS";
    String YARN_METRICS = "YARN_METRICS";
    String YARN_SCHEDULER = "YARN_SCHEDULER";
    String YARN_NODEMANAGER = "NodeManager";



    String YARN_HEALTH = "health";
    String YARN_HEALTH_DESC = "YARN  运行状况  良好";
    String YARN_WARNING = "warning";
    String YARN_WARNING_DESC = "YARN  运行状况  存在隐患";
    String YARN_DEADLY = "deadly";
    String YARN_DEADLY_DESC = "YARN  运行状况  存在致命问题";
    String YARN_STOP = "stop";
    String YARN_STOP_DESC = "节点已停止";

    String YARN_APP_RUNING="RUNNING";
    String YARN_APP_FAIL="FAILED";
    String YARN_APP_SUCC="SUCCEEDED";

    //------------------------------------------------yarn状态------------------------------------------------//


    //------------------------------------------------impala状态------------------------------------------------//
    String IMPALA_HEALTH = "health";
    String IMPALA_HEALTH_DESC = "IMPALA  运行状况  良好";
    String IMPALA_DEADLY = "deadly";
    String IMPALA_DEADLY_DESC = "IMPALA  运行状况  存在致命问题";
    String IMPALA_STATESTORED = "IMPALA_STATESTORED";
    String IMPALA_IMPALAD = "IMPALA_IMPALAD";
    String IMPALA_CATALOG_SERVER = "IMPALA_CATALOG_SERVER";
    String IMPALA_POOL = "IMPALA_POOL";

    String IMPALA_APP_RUNING="RUNNING";
    String IMPALA_APP_FAIL="EXCEPTION";
    String IMPALA_APP_SUCC="FINISHED";
    //------------------------------------------------impala状态------------------------------------------------//


    //------------------------------------------------hdfs状态------------------------------------------------//
    String HDFS_RESOURCE = "HDFS_RESOURCE";



    //------------------------------------------------hdfs状态------------------------------------------------//

    //------------------------------------------------hdfs状态------------------------------------------------//
    String ALL_HOST_INFO = "ALL_HOST_INFO";



    //------------------------------------------------hdfs状态------------------------------------------------//

    //------------------------------------------------kafka状态------------------------------------------------//
    String KAFKA_GAP = "KAFKA_GAP";



    //------------------------------------------------kafka状态------------------------------------------------//


}
